package com.partner.service.scenicspot;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.partner.bean.scenicspot.TPublicfacilitiesVo;
import com.partner.mapper.scenicspot.TPublicfacilitiesMapper;

@Service("tPublicfacilitiesService")
public class TPublicfacilitiesService {
	
	@Autowired
	TPublicfacilitiesMapper publicfacilitiesMapper;
	
	/**
	 * @Title      : getPublicfacilitiesByScenidSpotId 
	 * @Description: 根据景区ID查询公共设施
	 * @param id
	 * @return     : List<TPublicfacilitiesVo>
	 * @author     : Lizuoyang
	 * Create Date : 2017年5月8日 下午4:38:06
	 * @throws 
	 */
	public List<TPublicfacilitiesVo> getPublicfacilitiesByScenidSpotId(int id){
		return publicfacilitiesMapper.selectByScenicSpotId(id);
	}

}
